@extends('admin.layouts.layout')
@section('content')
    <div class="row">
        <div class="col-sm-12">
	        <div class="ibox-title">
	            <h5>财务管理 - 生成订单</h5>
	        </div>  
            <div class="ibox-content">
                <form class="form-horizontal m-t-md" action="{{route('financial.create')}}" method="post" accept-charset="UTF-8" enctype="multipart/form-data">
	                {!! csrf_field() !!}
	                {{method_field('PATCH')}}  
                    <div class="form-group">
						<div class="col-sm-2">
					      <span style="border-left:5px solid orange;padding-left:5px;margin-left:-5px;"> 金额信息</span>
				        </div>                                       
                    </div> 	                                  
                    <div class="form-group">
						<div class="col-sm-4">
                                <div class="row">
                                    <label class="col-sm-3 control-label">充值金额 </label>
                                    <div class="col-sm-1" style="padding:0">
                                      <span class="col-sm-1 control-label">￥</span>
                                    </div>
                                    <div class="col-md-3" style="padding:0">
			                             <input type="text" class="form-control"  name="amount"  required data-msg-required="请输入金额"> 
			                        
			                          	@if ($errors->has('legal_person'))	                          
			                             <span class="help-block m-b-none"><i class="fa fa-info-circle"></i></span>	
			                            @endif		                          
                                    </div>
                                    <div class="col-sm-1" style="padding-left:0">
                                      <span class="col-sm-1 control-label" style="padding-left:5px">元</span>
                                    </div>                                                                        
                                    <label class="col-sm-4 control-label" style="padding-left:0; text-align:left">充值比例(比例1:1)</label>
                                </div>					     
				        </div>                                       
                    </div> 
					<div class="hr-line-dashed m-t-sm m-b-sm"></div> 
					       					               
                    <div class="form-group">
						<div class="col-sm-2">
					      <span style="border-left:5px solid orange;padding-left:5px;margin-left:-5px;"> 支付方式</span>
				        </div>                                       
                    </div> 	
                    <div class="form-group" style="padding-left:56px">
						<div class="col-sm-7">
						    <label class="radio-inline">
						    <input type="radio" checked="checked" value="1" name="payway">&nbsp;&nbsp;微信支付</label>
						    <label class="radio-inline">
						    <input type="radio" value="2" name="payway">&nbsp;&nbsp;支付宝支付</label>	
						    <label class="radio-inline">
						    <input type="radio" value="3" name="payway">&nbsp;&nbsp;银行转账 </label>							    			 	
				        </div>                                       
                    </div>
					<div class="hr-line-dashed m-t-sm m-b-sm"></div>                     
                    
                                         
                    
                    <div class="form-group" style="padding-top: 35px;">
					   <div class="col-sm-7">														
                         <div class="col-sm-12">
                             <button class="btn btn-primary" type="submit"><i class="fa fa-check"></i>&nbsp;生成订单</button>　<button class="btn btn-white" type="reset"><i class="fa fa-repeat"></i> 重 置</button>
                         </div>																			
					   </div>					                                      
                    </div>                                                                                     
                    <div class="clearfix"></div>
                </form>
            </div>
        </div>
    </div> 
@endsection